﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;

namespace HCQ2_Model.VRDD.InputDto._0623
{
    /// <summary>
    ///  更新商品位置信息
    /// </summary>
    public class InputProductGPS
    {
        /// <summary>
        ///  商品id
        /// </summary>
        [RegularExpression("^([1-9][0-9]*)$", ErrorMessage = "商品id必传项！")]//大于0正则表达式
        public int file_id { get; set; }
        /// <summary>
        ///  经度
        /// </summary>
        public decimal gps_x { get; set; }
        /// <summary>
        ///  纬度
        /// </summary>
        public decimal gps_y { get; set; }
        /// <summary>
        ///  楼层
        /// </summary>
        public string doc_number { get; set; }
        /// <summary>
        ///  配送距离
        /// </summary>
        public decimal deliveryDistance { get; set; }
    }
}